<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: chenjun
  Date: 2020/3/29
  Time: 10:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>login</title>
    <link rel="stylesheet" href="../css/login.css">
    <script src="../js/jquery-3.4.1.min.js"></script>
    <script src="../js/login.js"></script>
</head>
<body>
<div id="all">
    <form action="/login" method="post">
        <table align="center" class="tb1" width="28%" cellspacing="0">
            <tr>
                <td class="td_11" colspan="3"><span>后台</span><span>管理</span></td>
            </tr>
            <tr>
                <td align="center" id="td_tb2">
                    <table class="tb2" width="100%" cellspacing="0">
                        <tr>
                            <td align="center"><label for="username">登录名</label></td>
                            <td colspan="3"><input type="text" name="username" id="username"></td>
                        </tr>
                        <tr>
                            <td align="center"><label for="password">密码</label></td>
                            <td colspan="3"><input type="password" name="password" id="password"></td>
                        </tr>
                        <tr class="tr_23">
                            <td align="center"><label for="checkCode">验证码</label></td>
                            <td class="td_232"><input type="text" name="checkCode" id="checkCode"></td>
                            <td id="code"><img src="/code"></td>
                            <td>
                                <div id="check"><%=request.getAttribute("result")%>
                                </div>
                            </td>
                        </tr>
                    </table>
                    ${result}
                </td>
                <td class="td_22">G</td>
                <td class="td_23">
                    <div>WEBMASTER</div>
                </td>
            </tr>
            <tr>
                <td class="sub" colspan="3" align="center"><input type="submit" value="登录"></td>
            </tr>
        </table>
    </form>

</div>
</body>
</html>
